package org.ims.inv.service.flow;

import org.ims.inv.model.flow.ModelFlowTemplate;

import cn.trymore.core.exception.ServiceException;
import cn.trymore.core.service.ServiceGeneric;

/**
 * Service: 工作流模板
 * 
 * @author Jeccy.Zhao
 *
 */
public interface ServiceFlowTemplate
extends ServiceGeneric<ModelFlowTemplate>
{
	/**
	 * Obtains entity by the specified sequence number
	 * 
	 * @param sequence
	 * @param entity
	 * @return
	 * @throws ServiceException
	 */
	ModelFlowTemplate getBySequence (Integer sequence, 
			ModelFlowTemplate entity) throws ServiceException;
	
}
